package com.example.lotteryticketdev.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.lotteryticketdev.entity.LuckyBall;
import com.example.lotteryticketdev.vo.LuckyBallQueryVo;

import java.util.List;
import java.util.Map;

/**
 * (TableLuckyBall)表服务接口
 *
 * @author makejava
 * @since 2023-09-25 19:26:00
 */
public interface LuckyBallService extends IService<LuckyBall> {

   boolean saveLuckyBall(List<LuckyBall> list);

   List<Map<String,Integer>> findEveryBallCount();

   List<List<Integer>> findEveryBallCountPlus();

   LuckyBall findMaxCodeLuckyBall();

   LuckyBall findMaxProbabilityOne();

   List<List<String>> findMaxProbabilityList();

   LuckyBall findRandomLuckyBall();
}

